* {
    padding: 0;
    margin: 0;
}

html {
    font-size: 13.3333vw;
}

.box {
    width: 4.2rem;
    height: 15rem;
    margin: 0.1rem auto;
    background-color: #f2f5f4;
    border: 1px transparent;

    /* 当屏幕宽度超过414,固定rem = 100px,页面居中显示 */
    @media (min-width: 414px) {
        html {
            font-size: 100px;
        }
    }

    // 头部
    header {
        position: relative;
        padding-top: 0.1rem;
        width: 100%;
        height: 3.6rem;
        background-image: url(../img/分类背景.png);
        background-size: 100% 100%;
        margin: 0 auto;
        border: 1px transparent;

        .header-one {
            display: flex;
            align-items: center;
            width: 3.8rem;
            height: 0.58rem;
            // background-color: aquamarine;
            margin: 0.1rem auto;
            box-sizing: border-box;

            img {
                width: 0.4em;
                height: 0.4rem;
            }

            .header-one-zi {
                margin-left: 0.8rem;
                font-size: 0.3rem;
                color: #ffffff;
            }
        }

        .header-two {
            display: flex;
            align-items: center;
            width: 3.8rem;
            height: 2rem;
            // background-color: rgb(55, 146, 116);
            margin: 0.1rem auto;
            box-sizing: border-box;

            .header-two-l {
                height: 2rem;
                width: 2.2rem;

                // background-color: bisque;
                p {
                    margin-top: 0.1rem;
                    font-size: 0.22rem;
                    color: #ffffff;
                }

                div {
                    margin-top: 0.1rem;
                    font-size: 0.12rem;
                    color: #ffffff;
                }

                button {
                    width: 1.3rem;
                    height: 0.4rem;
                    border-radius: 0.3rem;
                    border: none;
                    outline: none;
                    color: #fe6a07;
                    font-size: 0.12rem;
                    background-color: #ffffff;
                }
            }

            .header-two-r {
                width: 1.8rem;
                height: 2rem;

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }

    .banner {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        position: absolute;
        top: 3.2rem;
        left: 1.85rem;
        width: 3.8rem;
        height: 1.2rem;
        margin: 0 auto;
        border-radius: 0.1rem;
        background-color: #ffffff;

        .col {
            width: 0.76rem;
            height: 1rem;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;

            img {
                width: 0.6rem;
            }

            span {
                font-size: 0.15rem;
            }
        }
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin: 0.8rem auto;
        width: 3.8rem;
        height: 0.7rem;
        border-radius: 0.1rem;
        background-color: #ffffff;

        span {
            font-size: 0.16rem;
        }

        .nav-active:hover {
            color: #ff5b2d;
        }
    }

    main {
        width: 3.8rem;
        height: 6rem;
        border-radius: 0.1rem;
        margin: -0.5rem auto;
        // background-color: #ffffff;

        .column {
            border: 1px transparent;
            float: left;
            width: 45%;
            height: 50%;
            margin-left: 0.15rem;
            margin-top: 0.15rem;
            /* 设置每列占据的宽度，可以根据需要调整 */
            padding: 10px;
            box-sizing: border-box;
            background-color: #ffffff;
            border-radius: 0.1rem;

            .col-top {
                width: 100%;
                height: 1.7rem;

                // background-color: #fe6a07;
                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .col-down {
                // margin-top: 0.2rem;
                width: 100%;
                height: 1rem;

                // background-color: #473b33;
                .title {
                    width: 100%;
                    font-size: 0.05rem;
                }

                .price {
                    margin-top: -0.5rem;

                    .org {
                        font-size: 0.1rem;
                        color: #ff5b2d;
                    }

                    .gray {
                        font-size: 0.03rem;
                        margin-left: 0.05rem;
                        color: #999999;
                        text-decoration: line-through;
                    }
                }
            }
        }
    }
}